#ifndef _H_PARSER
#define _H_PARSER
#define MSG_TYPE_CONFIG_TH 1 //消息类型是阈值类配置
#define MSG_TYPE_CONFIG_NETWORK 2 //消息类型是网络类配置
#include "THData.h"
#include "stdio.h"
#include "cJSON.h"

int parseMsgType(char *msg);
int parseTHData(THData* data,char *msg);

#endif